@mixin line {
  position: absolute;
  background: #40B0ED;
}
.border-item {
  border-radius: 3px;
  box-shadow: #40B0ED 0px 0px 14px inset;
  position: relative;
  .line-top-left {
    @include line;
    top: 1px;
    left: 1px;
    width: 20%;
    height: 1px;
    .line-span {
      display: inline-block;
      position: absolute;
      left: 45%;
      height: 2px;
      width: 40%;
      bottom: 1px;
      background: #40B0ED;
    }
  }
  .line-top-right {
    @include line;
    top: 1px;
    right: 1px;
    width: 8%;
    height: 1px;
    .line-span {
      display: inline-block;
      position: absolute;
      right: 0;
      height: 60%;
      width: 2px;
      bottom: 20%;
      background: #40B0ED;
    }
  }
  .line-bottom-left {
    @include line;
    bottom: 1px;
    left: 1px;
    width: 8%;
    height: 1px;
  }
  .line-bottom-right {
    @include line;
    bottom: 1px;
    right: 1px;
    width: 20%;
    height: 1px;
    .line-span {
      display: inline-block;
      position: absolute;
      right: 45%;
      height: 2px;
      width: 40%;
      bottom: -2px;
      background: #40B0ED;
    }
  }
  .line-left-top {
    @include line;
    left: 1px;
    top: 1px;
    height: 8%;
    width: 1px;
    .line-span {
      display: inline-block;
      position: absolute;
      left: -2px;
      height: 60%;
      width: 2px;
      top: 20%;
      background: #40B0ED;
    }
  }
  .line-left-bottom {
    @include line;
    left: 1px;
    bottom: 1px;
    height: 8%;
    width: 1px;
    .line-span {
      display: inline-block;
      position: absolute;
      left: -2px;
      height: 60%;
      width: 2px;
      bottom: 20%;
      background: #40B0ED;
    }
  }
  .line-right-top {
    @include line;
    right: 1px;
    top: 1px;
    height: 8%;
    width: 1px;
    .line-span {
      display: inline-block;
      position: absolute;
      right: -2px;
      height: 60%;
      width: 2px;
      top: 20%;
      background: #40B0ED;
    }
  }
  .line-right-bottom {
    @include line;
    right: 1px;
    bottom: 1px;
    height: 8%;
    width: 1px;
    .line-span {
      display: inline-block;
      position: absolute;
      right: -2px;
      height: 60%;
      width: 2px;
      bottom: 20%;
      background: #40B0ED;
    }
  }
}